#include<stdio.h>
#include<math.h>

int main(void)
{
	double a,b,c,m,n,x1,x2;
	
	scanf("%lf%lf%lf",&a,&b,&c);
	
	n=sqrt(b*b-4*a*c)/(2*a);
	m=-1*b/(2*a);
	
	x1=m+n;
	x2=m-n;
	
	int temp;
	
	if(x1<x2)
	{
		temp=x1;
		x1=x2;
		x2=temp;
	}
	
	printf("%7.2f%7.2f",x1,x2);
	
	return 0;
}
